package org.example.entity;

import lombok.Data;
import java.util.Arrays;

/**
 * @author 张在成
 */
@Data
public class User{

    private  int id;

    private String username;

    private String password;

    private Integer status;


/*    @Override
    public Collection<? extends GrantedAuthority> getAuthorities() {
        return Arrays.asList(new SimpleGrantedAuthority("TEST"));
    }

    @Override
    public boolean isAccountNonExpired() {
        return true;
    }

    @Override
    public boolean isAccountNonLocked() {
        return true;
    }

    @Override
    public boolean isCredentialsNonExpired() {
        return true;
    }

    @Override
    public boolean isEnabled() {
        return true;
    }*/


}
